import request from '@/utils/request'

// 订单管理-订单列表
export function orderLists(params?: any) {
    return request.get({ url: '/order/lists', params })
}

// 订单管理-订单详情
export function orderDetail(params?: any) {
    return request.get({ url: '/order/detail', params })
}

// 订单管理-添加订单
export function orderAdd(params: any) {
    return request.post({ url: '/order/add', params })
}

// 订单管理-修改订单
export function orderEdit(params: any) {
    return request.post({ url: '/order/edit', params })
}

// 订单管理-删除订单
export function orderDelete(params: any) {
    return request.post({ url: '/order/delete', params })
}

// 订单管理-恢复订单
export function orderRecover(params: any) {
    return request.post({ url: '/order/recover', params })
}


// 订单管理-未收货订单
export function not_receive(params: any) {
    return request.get({ url: '/order/not_receive', params })
}
